// 后台返回错误code
export const Result = {
  SUCCESS: '00000',
  ERROR: '10111',
  ERROR2: '05000', // 内部错误
  TIMEOUT: '401' // 超时
};

// 请求方式
export const Request = {
  GET: 'GET',
  POST: 'POST',
  PUT: 'PUT',
  DELETE: 'DELETE'
};

// content类型
export const ContentType = {
  // json
  JSON: 'application/json;charset=UTF-8',
  // form-data qs
  FORM_URLENCODED: 'application/x-www-form-urlencoded;charset=UTF-8',
  // form-data  upload
  FORM_DATA: 'multipart/form-data;charset=UTF-8'
};
